package com.tx.zlm_replay.vo;

import java.io.Serializable;

/**
 * @author tx
 * @version 1.0
 * @date 2024/3/18 9:37
 * @description: 查询录像文件返回的实体
 */

public class RecordFile implements Serializable {
    private static final long serialVersionUID = -62432215667691257L;
    // case rtp
    private String app;
    // case 34020000001320000032_34020000001310000032
    private String stream;
    // case 14:55:25-15:07:13-708499.mp4
    private String fileName;
    // case mediaId66
    private String mediaServerId;
    // 录像的日期
    private String date;

    public RecordFile() {
    }

    public RecordFile(String app, String stream, String fileName, String mediaServerId, String date) {
        this.app = app;
        this.stream = stream;
        this.fileName = fileName;
        this.mediaServerId = mediaServerId;
        this.date = date;
    }

    @Override
    public String toString() {
        return "RecordFile{" +
                "app='" + app + '\'' +
                ", stream='" + stream + '\'' +
                ", fileName='" + fileName + '\'' +
                ", mediaServerId='" + mediaServerId + '\'' +
                ", date='" + date + '\'' +
                '}';
    }

    public String getApp() {
        return app;
    }

    public RecordFile setApp(String app) {
        this.app = app;
        return this;
    }

    public String getStream() {
        return stream;
    }

    public RecordFile setStream(String stream) {
        this.stream = stream;
        return this;
    }

    public String getFileName() {
        return fileName;
    }

    public RecordFile setFileName(String fileName) {
        this.fileName = fileName;
        return this;
    }

    public String getMediaServerId() {
        return mediaServerId;
    }

    public RecordFile setMediaServerId(String mediaServerId) {
        this.mediaServerId = mediaServerId;
        return this;
    }

    public String getDate() {
        return date;
    }

    public RecordFile setDate(String date) {
        this.date = date;
        return this;
    }
}
